package com.archive.cleaner.config;

import com.archive.cleaner.constants.CleanMode;
import com.archive.core.config.ArchiveProperties;
import lombok.Data;

@Data
public class DbCleanerConfig {

    private String url;
    private String username;
    private String password;
    private Integer deleteInterval;
    private boolean deleteEnabled = false;
    private CleanMode cleanMode = CleanMode.CLEAN;
    private int connectTimeout = 5000;
    private int socketTimeout = 60000;
    private int maxWait = 60000;

    private ArchiveProperties archive;

}
